package com.sjb.sixteen_journey_backend.mapper;

import com.sjb.sixteen_journey_backend.entity.MyTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 * 我的此刻表 Mapper 接口
 * </p>
 *
 * @author jcz
 * @since 2024-07-12
 */
public interface MyTimeMapper extends BaseMapper<MyTime> {
    MyTime selectMyTimeWithImages(@Param("myTimeId") Integer myTimeId,@Param("userId") Integer userId);

    List<MyTime> getAllMyTime(@Param("userId") Integer userId);

    List<MyTime> getAllMyTimeByUserId(@Param("userId") Integer userId);
}
